<!--
填写司机资料
-->

<ion-view>
    <ion-header-bar align-title="center" class="headbar bar-header bar-clear" style="  background-color:#1F1168;"><a nav-direction="back" nav-transition="ios"
            class="button button-clear icon ion-ios-arrow-left" ng-href="#/main/amap" target="_self"> </a>

        <h1 class="title">完善资料</h1>
    </ion-header-bar>
    <ion-content has-header="true" scroll="true" scrollbar-y="false">
        <div ng-repeat="image in images" class="contextv mics">
            <div>
                <div class="card picsu">
                    <!--<div ng-if="image._file" id="reviewmig" ng-thumb="{ file: image._file, width: 200, height: 200 }"></div>
                    -->
                    <div ng-if="$root.currentUser.images[image.en]"><img id="reviewmig" class="full-image" ng-src='{{$root.currentUser.images[image.en]}}'/></div>
                </div>
            </div>
            <ion-button class="a-upload" ng-click="imagePicker(image)">选择图片上传</ion-button>
            <!--<div class="a-upload">
                <input ng-if="!selectedImage" type="file" nv-file-select uploader="uploader" options="{ num: image.index }"/>
            </div>
            <button ng-if="!image.file" class="delever button button-icon icon ion-image" ngf-select
                    ngf-change="addImages($files, image)"
                    ngf-multiple="false"
                    ngf-capture="'camera'" accept="image/*"> 选取{{image.cn}}
            </button>
            <button ng-if="image.file" class="delever button button-icon icon ion-image" ng-click="upload(image)">
                上传{{image.cn}}
            </button>-->
        </div>
        <div class="item-line item item-body">
        <p>请依次上传您的个人头像、身份证、驾驶证的清晰图像！</p>
    </div>
        <button class="logining button button-calm button-block" ng-click="finish()"> 提交</button>
    </ion-content>
</ion-view>
